﻿using YNTK.Dependency;

namespace YNTK.OAuth.Service.Dto
{
    /// <summary>
    /// 用户登录输出参数
    /// </summary>
    [SuppressSniffer]
    public class LoginOutput
    {
        /// <summary>
        /// 主题
        /// </summary>
        public string theme { get; set; }

        /// <summary>
        /// 系统语言
        /// </summary>
        public string language { get; set; }

        /// <summary>
        /// 导航背景色
        /// </summary>
        public string backgroundColor { get; set; }

        /// <summary>
        /// 导航文本色
        /// </summary>
        public string navigationTextColor { get; set; }

        /// <summary>
        /// token
        /// </summary>
        public string token { get; set; }

        /// <summary>
        /// 账号类型(0.平台运营人员 1.超级管理员 2.组织管理员 3.组织用户 4.第三方登录用户 5.游客用户)
        /// </summary>
        public int accountType { get; set; }

        /// <summary>
        /// 账号类型文本
        /// </summary>
        public string accountTypeText { get; set; }

        /// <summary>
        /// 所属组织id
        /// </summary>
        public string organizeId { get; set; }

        /// <summary>
        /// 所属机构id
        /// </summary>
        public string mechanismId { get; set; }

        /// <summary>
        /// 所属真实机构id,也就是将mechanismId逗号分割取的最后一个
        /// </summary>
        public string lastMechanismId { get; set; }

        /// <summary>
        /// 所属角色id
        /// </summary>
        public string roleId { get; set; }
    }
}
